POV-Ray : Newsgroups : povray.binaries.images : Scatter (103k) : Re: Scatter (103k) Server Time
19 Aug 2024 14:17:05 EDT (-0400)
  Re: Scatter (103k)  
From: Chris Huff
Date: 18 Dec 2000 15:06:29
Message: <chrishuff-B4EB2C.15073418122000@news.povray.org>
In article <3a3e6b3d@news.povray.org>, "Andy Cocker" 
<big### [at] mariner9fsnetcouk> wrote:

> I don't quite understand what #if (Norm.x != 0 | Norm.y != 0 | Norm.z 
> != 0) means, but I've yet to really look into it.

If the trace() function doesn't find an intersection, it will return < 
0, 0, 0> as the normal. This allows you to find out if it actually hit 
something.

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.